package com.yanyilu.basing.service;

import com.yanyilu.basing.common.R;
import com.yanyilu.basing.entity.TotalTimeMileage;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Sxx
 * @since 2020-10-26
 */
public interface ITotalTimeMileageService extends IService<TotalTimeMileage> {

    R getTatalTimeMileage(Integer userId);

    R getRankInfo(Integer userId);

    void addNumber(Integer time,Integer mileage,Integer userId);

}
